package com.param.impl;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.param.concat.IUpdatePaymentParam;

public class UpdatePaymentParam implements IUpdatePaymentParam {

	@NotNull
	@Min(value = 1, message = "id最小值为1")
	private int id;
	
	@NotNull
	@Min(value = 0, message = "订单状态最小值为0")
	@Max(value = 2, message = "订单状态最大值为2")
	private Byte orderStatus;
	
	@NotNull
	@Min(value = 1, message = "payType最小值为1")
	private Integer payType;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Byte getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Byte orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}
	
	

	
}
